package com.hx.bj.datahandleboot.controller;

import com.hx.bj.datahandleboot.service.UserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("用户信息管理")
@RestController
public class UserController {

    @Autowired
    private UserService userService;


    //展示基本
    @ApiOperation(value = "用户信息查询")
    @GetMapping("users")
    public String baseInfos() {

        System.out.println(1);

        return userService.add();

    }


}
